.layout {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;

    &-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        padding: 16px 100px;
        border-bottom: 2px solid $border-color;

        @media screen and (max-width: 1012px) {
            padding: 16px 6% 16px;
        }

        &-left {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: $space-xl;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        &-right {
            height: 32px;
            width: 32px;
            border-radius: 50%;
        }
    }

    &-popover {
        opacity: 0;
        width: 0;
        height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden;
        z-index: 100;
        min-width: 100px;
        position: absolute;
        background-color: white;
        right: 0;
        border-radius: $border-radius;
        box-shadow: 0px 4px 10px 0px rgba($color: #000000, $alpha: 0.25);
        transition: opacity 0.2s;
        
        &_visible{
            opacity: 1;
            width: auto;
            height: auto;
        }
    }

    &-item {
        padding: 8px;
        min-height: unset;
        text-decoration: none;
        color: inherit;
        width: 100%;
        text-align: end;
        cursor: pointer;

        &:hover {
            background-color: $profile-menu-bg-hover;
        }
    }

    &-button {
        padding: 12px 16px;
        min-height: inherit;
    }

    &-outlet {
        height: calc(100dvh - 64px);
        width: 100vw;
        overflow-x: hidden;
        display: flex;
        justify-content: center;
    }
}
